% latex table generated in R 4.4.0 by xtable 1.8-4 package
% Thu Apr 10 09:22:42 2025
\begin{table}[ht]
\centering
\begin{tabular}{rrrrrrr}
  \hline
 & Sestak '10 & Obama '12 & Clinton '16 & McGinty '16 & Casey '18 & Biden '20 \\ 
  \hline
Obama '08 & \cellcolor{gray!110}0.971 & \cellcolor{gray!110}0.978 & \cellcolor{gray!110}0.944 & \cellcolor{gray!110}0.963 & \cellcolor{gray!110}0.942 & \cellcolor{gray!110}0.921 \\ 
  Sestak '10 & 1.000 & \cellcolor{gray!110}0.973 & \cellcolor{gray!110}0.933 & \cellcolor{gray!110}0.960 & \cellcolor{gray!110}0.943 & \cellcolor{gray!110}0.905 \\ 
  Obama '12 & \cellcolor{gray!110}0.973 & 1.000 & \cellcolor{gray!110}0.956 & \cellcolor{gray!110}0.976 & \cellcolor{gray!110}0.957 & \cellcolor{gray!110}0.931 \\ 
  Clinton '16 & \cellcolor{gray!110}0.933 & \cellcolor{gray!110}0.956 & 1.000 & \cellcolor{gray!110}0.988 & \cellcolor{gray!110}0.982 & \cellcolor{gray!110}0.984 \\ 
  McGinty '16 & \cellcolor{gray!110}0.960 & \cellcolor{gray!110}0.976 & \cellcolor{gray!110}0.988 & 1.000 & \cellcolor{gray!110}0.980 & \cellcolor{gray!110}0.967 \\ 
  Casey '18 & \cellcolor{gray!110}0.943 & \cellcolor{gray!110}0.957 & \cellcolor{gray!110}0.982 & \cellcolor{gray!110}0.980 & 1.000 & \cellcolor{gray!110}0.976 \\ 
  Biden '20 & \cellcolor{gray!110}0.905 & \cellcolor{gray!110}0.931 & \cellcolor{gray!110}0.984 & \cellcolor{gray!110}0.967 & \cellcolor{gray!110}0.976 & 1.000 \\ 
   \hline
\end{tabular}
\caption{Over-time correlations between Democratic nominee vote shares from 2008 to 2020 in presidential and Senate races in PA (n=8991-9211).} 
\label{tab:gen_election_corrs_PA_dems}
\end{table}
